package structural.decorator.custom.cupSize;

import structural.decorator.custom.Coffee;
import structural.decorator.custom.CupSize;

/**
 * 正常杯
 */
public class GrandeCup implements CupSize {
    Coffee coffee;

    public GrandeCup(Coffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public String getDescription() {
        return coffee.getDescription() + ", 正常杯";
    }

    @Override
    public double cost() {
        return coffee.cost() * 1;
    }
}
